<script setup lang="ts">
const props = defineProps({
  name: {
    type: String,
    required: true
  },
  label: String,
  required: Boolean,
  min: Number,
  max: Number
});

</script>

<template>
  <a-form-item :label="label" :name="name">
    <a-input :="$attrs" :placeholder="required ? '请输入': ''">
    </a-input>
  </a-form-item>
</template>

<style scoped lang="less">

</style>